Adding "Country" parameter to Zaraz

In Zaraz > Trigger > Match Rule > Variable Name

can we have variable as Country?

{{ }}

I would like inject 3rd party script on certain pages of my site that would trigger only when visited from specific countries or not triggered when visited from specific country.

I haven’t looked at Zaraz, but is how other rules check for Country.

1 Like

Maybe some like this zaraz.set(‘country’, ‘your_contry’, {scope: ‘page’}) and then use this in a trigger

Thank you, we’ll look into it.