Closed howells closed 4 years ago
Hi Dan,
That's strange, it definitely looks like it should be working. Can you share the Twig code you're using to log views?
One thing that's catching my eye... is the viewKey
value being written to the database as NULL
, or as an empty string? There is actually a difference.
I’ve realised I might be sending and empty string as a key as part of my request (via JavaScript not twig) so I’ll check that in the morning. Thanks for the reply.
Sounds great! Let me know if it turns out to be something else.
Yeah that was the issue - all working fine now, thanks
Hi -
I'm sure I've screwed up somewhere but I can't seem to get View Count to work. I'm calling increment via JS and the relevant info seems to be written to the database:
Yet nothing is returned in the CP:
nor are any views returns in a simply GraphQL query.
I'm not using any keys here.
Any ideas where I'm going wrong?
Dan.