Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

When setting up an activity and specifying the activity location, does Target ignore hashes in the URL?

Avatar

Level 5

Hi everyone!

 

When setting up an activity, if I specify a URL with a hash, will Target apply the activity to only page loads containing the hash, or will it apply it to the base URL ignoring the hash?

 

For example, if I set up my activity URL as www.example.com/contact#sales, will it only apply modifications here, or will it attempt to apply them to www.example.com/contact and all other variants e.g. #support, #finance, etc.?

 

The hash is part of the URL and I'm assuming Target performs a matching exercise against window.location.href when working out whether to deploy a test or not.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies