How can we help?

If you are looking for support for our PokaTheme, this is the place!

Home Forums PokaTheme support URL parameter for affiliate links

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8936
    Cesar Farias
    Participant

    Hi there I’m having a hard time setting up my links.

    I do google ads and i need to pass some parameters example ?s1=campaign&s2=adgroup&s3=blah
    and my current affiliate link is like https://mmltrk.com/?a=210&oc=928&c=3942

    so when i go to for example mycasinosite.com/?s1=campaign&s2=adgroup&s3=blah

    I need my affiliate links to be like https://mmltrk.com/?a=210&oc=928&c=3942&s1=campaign&s2=adgroup&s3=blah

    And i cant figure it out how to fix it, i need some help asap.

    #8989
    admin
    Keymaster

    Hi Cesar,

    In the Affiliates CPT you can pass the affiliate you have with it’s parameters without any issue. The link that the user will see is just different, but they will be redirected to your affiliate link in the end.

    #9100
    Cesar Farias
    Participant

    No it didn’t work for me.

    Here is my site: https://osmelhorescasinos.pt/ and i will be adding random parameters on the site example https://osmelhorescasinos.pt/?campaign=cm1&adset=2321

    and then i’d like to for example the casino luckia below has the link of https://osmelhorescasinos.pt/jogar/luckia?campaign=cm1&adset=2321 and the affiliate link inside luckia which iis https://mmltrk.com/?a=210&oc=929&c=3943 to add https://mmltrk.com/?a=210&oc=929&c=3943&campaign=cm1&adset=2321

    So basically i need, pass (add) the whole query string to the affiliate link. does it make sense?

    • This reply was modified 4 years, 7 months ago by Cesar Farias.
    #9088
    Cesar Farias
    Participant

    No… but isn’t working. I have a developer trying to make it work but is just giving more headaches…

    So currently this is what is happening.

    https://osmelhorescasinos.pt/?campaign=1&ad=2 if I access this page for example, my play now buttons are all sending to affiliate links wihtout passing the campaign and ad parameters.

    For example on bet.pt i’d like them to go to https://apostar.bet.pt/casino/bonus.html?btag=a_1323b_1282c_7794430&campaign=1&ad=2 however it isn’t passing thru.

    #9127
    admin
    Keymaster

    Hi Cesar,

    The functionality you are describing is something that is not built in the PokaTheme. It can be built but only custom.
    If you already have a developer working on this then you’ll find a workaround. If you have specific technical question regarding PokaTheme I’ll be happy to help.

    #9130
    Cesar Farias
    Participant

    And the options of
    `poka_add_attr_aff_link
    You can use this hook to add custom attributes to affiliate link buttons.
    Example Snippet:
    add_filter(‘poka_add_attr_aff_link’,’my_override_function’);
    function my_override_function() {
    return ‘rel=”nofollow” ‘;
    }`

    Isn’t that to add parameters? Or only add atributes. like onclick= target= etc?

    thanks

    #9132
    admin
    Keymaster

    This filter can be used to add new attributes to the affiliate button. It doesn’t alter the “href” of the button.
    From what I can understand you want make changes to the affiliate URL.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.