{"_id":"5564cbb11fd04c0d00dc9a41","version":{"_id":"552d67153e1c280d00f7641f","project":"552d67153e1c280d00f7641c","__v":3,"createdAt":"2015-04-14T19:14:29.744Z","releaseDate":"2015-04-14T19:14:29.744Z","categories":["552d67163e1c280d00f76420","5564cb5c1fd04c0d00dc9a40","5568ec5ec87afd2500e52598"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":3,"user":"552d66b53e1c280d00f7641b","project":"552d67153e1c280d00f7641c","category":{"_id":"5564cb5c1fd04c0d00dc9a40","pages":["5564cba6f0f70f0d00a9aadb","5564cbb11fd04c0d00dc9a41","5564cbf31fd04c0d00dc9a43","55b0034ad7624e3700e4fb94","55b031e8f202b12100cda16b"],"project":"552d67153e1c280d00f7641c","version":"552d67153e1c280d00f7641f","__v":5,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-26T19:37:00.006Z","from_sync":false,"order":9999,"slug":"marin-ios-sdk","title":"Marin iOS SDK"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-26T19:38:25.284Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":4,"body":"If you sell products or offers in your app, you might want to track which products have been viewed by a user and serve them personalized ads (coming soon).  \n\nTo tell Perfect Audience which products have been viewed within your app, it must pass a unique identifier for the product to our servers using the following API.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"[Marin trackProductView::::at:::\\\"product1\\\" withMetadata:nil]; \",\n      \"language\": \"objectivec\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"tracking-product-views","type":"basic","title":"Tracking Product Views (Coming Soon)"}

Tracking Product Views (Coming Soon)


If you sell products or offers in your app, you might want to track which products have been viewed by a user and serve them personalized ads (coming soon). To tell Perfect Audience which products have been viewed within your app, it must pass a unique identifier for the product to our servers using the following API. [block:code] { "codes": [ { "code": "[Marin trackProductView:@\"product1\" withMetadata:nil]; ", "language": "objectivec" } ] } [/block]