Enabling customer click-stream on your Shopify Store

Here is a quick two step configuration, which shows how to tag customer id to sessions, recorded on Plumb5

Select “Themes” from the left hand menu to get to the template editor.

spy1

 

On clicking the editor, select the theme file.  At the end of the code, just before the </body> tag, paste Plumb5 script here. This will enable page and visitor tracking.

To be able to tag customer id to sessions, you will have to add the below code snippet just before the script, as shown in the screen below

<span id=’p5VisitorId’  style=’display:none;’>{{ customer.id }}</span>

spy2

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s