{"id":4429,"date":"2020-06-14T09:39:51","date_gmt":"2020-06-14T06:39:51","guid":{"rendered":"https:\/\/trackingchef.com\/?p=4429"},"modified":"2020-12-14T16:11:27","modified_gmt":"2020-12-14T13:11:27","slug":"quora-ads-pageview-tracking-in-single-page-applications","status":"publish","type":"post","link":"https:\/\/trackingchef.com\/quora\/quora-ads-pageview-tracking-in-single-page-applications\/","title":{"rendered":"Quora Ads Pageview tracking in Single Page Applications"},"content":{"rendered":"\n

Following my previous post on Single Page Application (SPA) tracking with Google Tag Manager (GTM)<\/a>, I also wanted to share the process for the Quora Ads pixel.<\/p>\n\n\n\n

The Quora Pixel is relatively smarter and is able to identify the new route and page title for new pages loaded. All it requires is triggering the Quora pixel on every route change.<\/p>\n\n\n\n

Quora SPA tracking with GTM<\/h2>\n\n\n\n

This method integrates with the Generic SPA Tracking<\/a> method discussed on a separate post, please make sure you follow the instructions detailed there first.<\/p><\/blockquote>\n\n\n\n

If you’re using GTM, this can easily be done using the Custom Event for SPA.<\/p>\n\n\n\n

\"\"
Pageview Custom Event<\/figcaption><\/figure>\n\n\n\n

On each of these events, trigger the Quora pixel, usually set using the Quora Pixel<\/a> tag. <\/p>\n\n\n\n

Assuming you already have the Quora Pixel installed via GTM, all you have to do either add the ‘pageview’ trigger to the tag alongside the ‘All Pages’ trigger (if the first page doesn’t use this trigger) or use only the ‘pageview’ trigger.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Quora Ads SPA tracking without GTM<\/h2>\n\n\n\n

In the case that you’re not using GTM (seriously, what’s wrong with you?), you can still implement the Quora Ads Pixel.<\/p>\n\n\n\n

In this case, you need to ask your developers to fire the Quora Pixel on each route change (or equivalent History Change).<\/p>\n\n\n\n

qp('track', 'ViewContent')<\/code><\/pre>\n\n\n\n

Similarly, the full Quora Pixel should be loaded once only on the initial page load, so that consecutive events are able to fire.<\/p>\n","protected":false},"excerpt":{"rendered":"

Following my previous post on Single Page Application (SPA) tracking with Google Tag Manager (GTM), I also wanted to share the process for the Quora Ads pixel. The Quora Pixel is relatively smarter and is able to identify the new route and page title for new pages loaded. All it requires is triggering the Quora […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts\/4429"}],"collection":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/comments?post=4429"}],"version-history":[{"count":3,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts\/4429\/revisions"}],"predecessor-version":[{"id":4802,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/posts\/4429\/revisions\/4802"}],"wp:attachment":[{"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/media?parent=4429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/categories?post=4429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trackingchef.com\/wp-json\/wp\/v2\/tags?post=4429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}