Hello,
I'm trying to build a targeted experience on our Web site's home page for a very specific segment, and I'm having difficulty determining the best way to do it.
The segment is comprised of visitors who have subscribed to our e-newsletter, and who, based upon their demographics, are separated into two email lists (we have multiple email lists).
I can identify these users based upon a tracking code we've appended to links in the email we send them. The tracking code contains _FIP or _SRW, depending upon which list the user falls into.
The challenge is that these users are not directly referred to our site, but rather, visit our site after landing on our blog site, which is a sub-domain of our primary web site.
I've previously tried using an audience rule where Previous page (or Landing Page) URL contains the _SRW or FIP parameters, but that doesn't appear to work correctly. I've also tried adding the Referring Landing Page: URL equals (mysub-domain.com) to the rule without success.
I suspect this may be resolved using a profile script, but I don't know how to build that.
Any suggestions?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi ,
You can definitely create Audience based on Profile Scripts. You can access the referrer domain & referrer param to a page using referrer.param and referrer.domain profile attributes . Please see the below profile script code:
if( (referrer.param('FIP')!=null || referrer.param('SRW')!=null) && referrer.domain=='my-subdomain.com') { return "Valid Audience" } else { return "Invalid Audience" }
The above code checks whether the referrer domain is equal to sub-domain.com and the either the referrer parameter FIP exits or SRW exists and then returns the Valid or Invalid Audience .
After All the set up , You can create an Audience named as "Retargetting Audience" and add "Visitor Profile" as a rule and then choose the above created profile script "RetargettingReferrer" as the refinement.
Please see the following links for more information on creating profile scripts .
https://marketing.adobe.com/resources/help/en_US/target/target/c_profile_parameters.html
https://marketing.adobe.com/resources/help/en_US/target/target/c_script_profile_attributes.html
https://marketing.adobe.com/resources/help/en_US/tnt/pdf/js_expression_cheat_sheet.pdf
Thanks & Regards
Parit Mittal
Views
Replies
Total Likes
Hi ,
You can definitely create Audience based on Profile Scripts. You can access the referrer domain & referrer param to a page using referrer.param and referrer.domain profile attributes . Please see the below profile script code:
if( (referrer.param('FIP')!=null || referrer.param('SRW')!=null) && referrer.domain=='my-subdomain.com') { return "Valid Audience" } else { return "Invalid Audience" }
The above code checks whether the referrer domain is equal to sub-domain.com and the either the referrer parameter FIP exits or SRW exists and then returns the Valid or Invalid Audience .
After All the set up , You can create an Audience named as "Retargetting Audience" and add "Visitor Profile" as a rule and then choose the above created profile script "RetargettingReferrer" as the refinement.
Please see the following links for more information on creating profile scripts .
https://marketing.adobe.com/resources/help/en_US/target/target/c_profile_parameters.html
https://marketing.adobe.com/resources/help/en_US/target/target/c_script_profile_attributes.html
https://marketing.adobe.com/resources/help/en_US/tnt/pdf/js_expression_cheat_sheet.pdf
Thanks & Regards
Parit Mittal
Views
Replies
Total Likes
Thank you! I'll give it a go.
Views
Replies
Total Likes
Views
Like
Replies
Views
Like
Replies