WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Visit duplication
Tagged: duplication
- This topic has 4 replies, 2 voices, and was last updated 8 years, 5 months ago by
mbrsolution.
-
AuthorPosts
-
November 9, 2017 at 1:56 pm #3090
pozzz
ParticipantHi, i’ve noticed that for each affiliate url visits, in the affiliate account is counted twice.
How is that possible?Thanks
November 9, 2017 at 2:06 pm #3091pozzz
Participantfound the problem, was my fault…
i’ve added the following code in the affiliate_cp_home.php to show affiliate url in the plugin homepage, but it occurs a duplication of visits. Removing that code visits are correct.
Is there a way to show the affiliate url in other pages (of the plugin and in other places in the wp theme)?
Thanks
here the code
<div class=”wrap” style=”background-color: #d4f0bf; padding: 30px;”>
<?php
if(!empty($alink_id)){
?>
<h3><?php _e(‘Your Affiliate Link Using Affiliate ID’, ‘affiliates-manager’) ?></h3><textarea class=”wpam-creative-code” rows=”1″><?php echo $alink_id; ?></textarea>
<h4>Invia questo link ai tuoi amici e guadagna ad ogni loro acquisto.</h4>
<?php
}
?></div><br>
November 9, 2017 at 9:02 pm #3095mbrsolution
ModeratorHi, check out the following documentation. Let me know if this is what you mean?
Thank you
November 10, 2017 at 11:54 am #3098pozzz
Participantthanks for your reply, but really not.
I whould be able to show the affiliate link of each page, in the same page the user is.For example: i’ve created an affiliate bar on the top of each page of my site, visible only to affiliate users. I want to show the affiliate url in the bar and if affiliate user visits mysite.com/home founds in that bar the affiliate url to that page mysite.com/home/?wpam_id=1 , when he visits the shop page he founds in the bar mysite.com/shop/?wpam_id=1 etc
So my problem is, how to print the affiliate link in the place i want (maybe via shortcode?) and, how can i have the affiliate link of each page (this is optional, whould be very helpful also to have the possibility to show the basic affiliate url in the place i want).
Thanks
MarcelloNovember 11, 2017 at 5:39 am #3102mbrsolution
ModeratorHi Marcello, I have submitted a message to the developers to investigate further your issue/request.
Thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.