[Resolved] [Plugin: Intercom for WordPress] Where can I find the security key?
In the settings I am asked for a Security Key, but I have looked through intercom, and still have no idea where to find it.
You click on the name of your app (at the top of the Intercom screen, next to the little cog icon), then choose “Security”.
In the code box, you will see a key that looks something like ahfikm8z, this is the key that you need to paste into the plugin settings screen.
Just below that, you will see a checkbox labelled “Enable” – this must be ticked.
Now save your plugin settings and you’ll be in secure mode.
Thanks for the quick reply, Simon.
So … From “Security”, I’ll need:
app_id: ‘THIS APP ID‘,
email: ‘email@example.com’, // TODO: User’s e-mail address
created_at: 315532800, // TODO: User’s sign-up date, Unix timestamp
user_hash: ‘ (…)= Digest::SHA1.hexdigest(‘AND THIS SECRET KEY‘ + current_user.email)
Correct? I still can’t get it to work.
BTW: I’ve opened a similar/related ticket inside Intercom.io. So now I’m posting here as much for the benefit of others who run into the same thing, as for myself.
You don’t need all that code, all you need is the short string of letters/numbers that you have replaced with “AND THIS SECRET KEY”.
It will look like this: ahfikm8z
Make sure also to tick the “Enable” box which will turn on security at the Intercom end of things.
I’ve just uploaded a screenshot which should make it clearer: http://lumpylemon.co.uk/wp-content/uploads/security-key-for-intercom-for-wordpress.png
Thank you. I realize that I don’t need all that code. I just wanted to show where I found the key, so as not to have anyone confuse it with the App id or something else.
Trouble is, I have filled it out like shown above – enable is checked – but without luck. I have tried it on two different blogs, one in a network w/ twentyeleven theme, one an ordinary install w/ custom theme, but nothing happens.
There’s no sign of the script in the source code, and no data is being collected. Don’t worry about it though. I’ll figure out how to add the script manually.
Are you logged in as the admin user?
If so, then the code isn’t added (there would be no reason to track your own visits or open a support ticket to yourself).
Please try logging in as a lower level user (the User Switching plugin is good for this), e.g. subscriber, then you should see the code.
Aha. That explains it.
I should have thought of that, of course. 🙂
However, since Intercom tells you to activate the script by visiting your own site, and won’t let you log in without doing that (or rather – only with dummy data), and since people may want to log in/confirm that it’s working before opening the site up for registration – I’d say there’s a reason to track at least one of your own visits.
Also, I’m not sure I would automatically assume that nobody wants to track administrators. Who knows how people use membership sites? (Especially when you add networks to the mix.) Maybe you could make it an option (preselected?), rather than a hidden feature.
But I totally get why you would do it like that. Thank you for helping me figure it out. 🙂
for this first release (version 0.1) i wanted to keep it simple and see what feedback i got from users.
for the next version, i am considering that you can choose which user levels to track/ignore.
(you can actually do this manually with the current version if you install justin tadlock’s members plugin and add/remove the
- The topic ‘[Resolved] [Plugin: Intercom for WordPress] Where can I find the security key?’ is closed to new replies.