This is a Pathfinder Pro feature.

Tags can be added or removed from a contact's profile based on links they click to visit a page on your store.

This can be done by adding tag parameters in the link which will add or remove the tag(s) as per your instructions.

You may want to use this method to track the source of the clicks to a landing page, so that contacts visiting the same page on your store but from different sources will each have different tags automatically applied to their profile. You may want to do this to help with analysis. 

Note: You must already have the tracking code installed on your website. If you have installed our Magento or Shopify extensions then this is already done for you. 

The link used must be to your website. If you want to send people to an external website, and retain some tracking, use Smart links.

You need to lookup some parameters in advance and so setup should be done by an operator with a technical understanding.

There are three elements to each Pathfinder URL parameter:

1. Destination URL

This should be a link to a page on your site that already has the tracking code installed. 

2. Pathfinder URL parameters

The Pathfinder URL parameters that you will use to add or remove a tag are: 

  • Add Tag = ?pfat
  • Remove Tag = ?pfrt

3. The JS Trigger

Every tag in Pathfinder has a unique ID which can be found by going to Contacts - Tags, choosing the Tag and then selecting JS Triggers. The unique ID will be in the code as per the highlighted section of the example below. 

Note: The tag id which is normally 6 digits is not the same as the tag JS ID which is a longer code consisting of numbers and letters.

Example URL

To add the tag, we use the ?pfat parameter and then we are assigning the JS ID of a1875fef9b6e468db957beea0e8661587 to set this specific tag. 

From the example, to add the tag, the URL parameter will be:

mystore.com/mypage?pfat=a1875fef9b6e468db957beea0e866158

and to remove a tag: 

mystore.com/mypage?pfrt=a1875fef9b6e468db957beea0e866157

Where mystore.com/mypage is replaced with your store destination URL.

If you would like to add several tags at the same time or remove several tags at the same time, you can do that by separating the parameter with a comma, ' , '

mystore.com/mypage?pfat=a1875fef9b6e468db957beea0e866157,7d80d111c35143a6a07edb40f55ed5a4

You can also combine the parameters together to have tags added and others removed by linking the parameters with an ampersand, '&'.

mystore.com/mypage?pfat=a1875fef9b6e468db957beea0e866157&pfrt=7d80d111c35143a6a07edb40f55ed5a4
Did this answer your question?