How can I apply an "if" rule for a specific domain?

Hi,

I have 2 international domains and I would like to apply a script only to my “senkels.at” domain.

I have tried it like this but that didn’t work:

{% if page.url contains "senkels.at" %}

Could anyone help me with this?

Thanks

Hi,

Check out the shop object

Hi,

unfortunately, I wasn’t able to solve it with shop.url either.

I tried it like this: {% if shop.url contains “senkels.at” %}

Any other way?