Hello, I am trying to create a segment with the help of a profile script. What I want to achieve is to create the profile for the people who visited a url of my site. To achieve this they told me that I must create a profile script that profile script will set the parameter "user.inversionesVisit = true" for any user who visits my URL. But I haven't created script profiles before. Does anyone know how this is done?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
if(page.url.indexOf('us/en/services/tax/tax-function-future.html')!=-1){
inversionesVisit = "true";
}
@Gabnolasco you can use the above code inside profile script to create a segment. just change the url with your page url.
This video provides a very good walkthrough of how to create profile scripts
if(page.url.indexOf('us/en/services/tax/tax-function-future.html')!=-1){
inversionesVisit = "true";
}
@Gabnolasco you can use the above code inside profile script to create a segment. just change the url with your page url.
Views
Like
Replies