Hello,
I have a few questions about setting up the load rule for this extension:
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
I am also just a user so not claiming my answers as best practice but just how I do it:
1. I created my rules differently, e.g. having the Clear at then end. So do my stuff and cleanup afterwards approach. But having it at the beginnign is also somethign I considered. Now to the actual question:
When or how are your rules triggered? There are multiple approaches I've seen so far. Again first what I have:
One page-load rule which sends the s.t() beacon with a custom pageBottom() method, and many rules that are only triggered with user interaction, these can then be s.tl() for on page interactions and s.t() for SPA elements where we want to track multiple page views, e.g. a multistep form.
So it really depends on how you configured and trigger your rules, from your text it is not clear what you mean with "every page" rule. You can have multiple rules that are triggered with a page load that do not send beacons but only have set variable actions and then have one rule that does the actual beacon sending. Just make sure the send beacon has the highest order number so it is the last rule that gets executed.
2. Again it depends what you intend to do with this string. If you are talking about products it is probably best if you populate s.products but there you need to stick to the official syntax of that string: products
Another option is to use one of the list variables s.list1, s.list2, s.list3 where you can define the delimiter in the Analytics suite
But also normal eVars can have strings like this, there you would have to do the splitting by yourself in Analytics
3. Never used this, so can't answer that
Views
Replies
Total Likes
I am also just a user so not claiming my answers as best practice but just how I do it:
1. I created my rules differently, e.g. having the Clear at then end. So do my stuff and cleanup afterwards approach. But having it at the beginnign is also somethign I considered. Now to the actual question:
When or how are your rules triggered? There are multiple approaches I've seen so far. Again first what I have:
One page-load rule which sends the s.t() beacon with a custom pageBottom() method, and many rules that are only triggered with user interaction, these can then be s.tl() for on page interactions and s.t() for SPA elements where we want to track multiple page views, e.g. a multistep form.
So it really depends on how you configured and trigger your rules, from your text it is not clear what you mean with "every page" rule. You can have multiple rules that are triggered with a page load that do not send beacons but only have set variable actions and then have one rule that does the actual beacon sending. Just make sure the send beacon has the highest order number so it is the last rule that gets executed.
2. Again it depends what you intend to do with this string. If you are talking about products it is probably best if you populate s.products but there you need to stick to the official syntax of that string: products
Another option is to use one of the list variables s.list1, s.list2, s.list3 where you can define the delimiter in the Analytics suite
But also normal eVars can have strings like this, there you would have to do the splitting by yourself in Analytics
3. Never used this, so can't answer that
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies