Event Triggers Inconsistently Triggers
-
I’ve been fighting this issue for a few months now and it’s frustrating me on what the cause is.
I am using the Gamipress Button add-on. There is a video in every post, after the user watches the video, there is a button that appears to “Collect Points” and watch the next video (episode). The user is redirected to the next post. A notification appears that they have received 100 points and it is logged correctly.
However, the issue is that sometimes this doesn’t trigger as it should. I’ve created new accounts to test with. It seems like on the iPhone it has the most trouble, but sometimes on desktop it won’t trigger either.
Here are my logs:
https://ibb.co/3FvKxy8Here is the code that I have to generate a custom ID for the button:
[gamipress_button type="submit" label="Collect BONK! Points & Watch Next Issue" id="issue_' . $nextproductid . '" class="button is-pink" onclick="location.href=\'/issue/' . $nextslug . '\';"]
Here are my Achievement Screens:
https://ibb.co/6RvN78bHere is what I have one of the Achievements set as:
https://ibb.co/M6fDz6kThis is what the frontend looks like in action…
https://ibb.co/6ZMhZFXThis is the code from web developer on the front end…
<button type="submit" id="issue_734" class="gamipress-button button is-pink" form="" name="" value="" onclick="location.href='/issue/hoodwinked';" data-post="569" data-comment="0">Collect BONK! Points & Watch Next Issue</button>
I tried to also do this with Gamipress Link, but I still have the same issues with it not always triggering.
Really hope I can get this resolved.
The page I need help with: [log in to see the link]
- The topic ‘Event Triggers Inconsistently Triggers’ is closed to new replies.