If I'm populating the same variable (s.prop) with the same data from a custom link and a page view, is there a way to differentiate between the different sources (page vs. custom link) when I look at the values in that prop? If so how? Also what about when the variable is a list prop?
Example Page View:
s.pageName='Home";
s.prop1="1|2|3";
Example Custom Link:
s.linkTrackVars = "prop1";
s.linkTrackEvents = "None";
s.prop1="A|B|C";
s.tl(true,'o','Custom Link Call');
Solved! Go to Solution.
Views
Replies
Total Likes
Alison Smith wrote...
You can breakdown the prop by the Custom Link name. A null value would indicate it was generated from a page view.
And likewise, you could breakdown the prop by the Page Name. Custom Links don't record the page name (although you see it generated in the call to SiteCatalyst in a debugger).
Alternatively, since you can only breakdown one prop value at a time which is tedious, I'd suggest prefixing the prop value with 'l:' for link and/or 'p:' for page, so in your report you'd see:
l:A|B|C
p:A|B|C
You could still use SAINT to roll these up into a summary 'A|B|C' value when required.
I really like you idea! Thajks for the great insight!
Views
Replies
Total Likes
You can breakdown the prop by the Custom Link name. A null value would indicate it was generated from a page view.
And likewise, you could breakdown the prop by the Page Name. Custom Links don't record the page name (although you see it generated in the call to SiteCatalyst in a debugger).
Alternatively, since you can only breakdown one prop value at a time which is tedious, I'd suggest prefixing the prop value with 'l:' for link and/or 'p:' for page, so in your report you'd see:
l:A|B|C
p:A|B|C
You could still use SAINT to roll these up into a summary 'A|B|C' value when required.
Views
Replies
Total Likes
Alison Smith wrote...
You can breakdown the prop by the Custom Link name. A null value would indicate it was generated from a page view.
And likewise, you could breakdown the prop by the Page Name. Custom Links don't record the page name (although you see it generated in the call to SiteCatalyst in a debugger).
Alternatively, since you can only breakdown one prop value at a time which is tedious, I'd suggest prefixing the prop value with 'l:' for link and/or 'p:' for page, so in your report you'd see:
l:A|B|C
p:A|B|C
You could still use SAINT to roll these up into a summary 'A|B|C' value when required.
I really like you idea! Thajks for the great insight!
Views
Replies
Total Likes
Views
Likes
Replies