WordPress.org

Ready to get started?Download WordPress

Forums

Intercom for WordPress
[resolved] Where can I find the security key? (10 posts)

  1. Christian K. Nordtomme
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/extend/plugins/intercom-for-wordpress/

  2. Simon Blackbourn
    Member
    Plugin Author

    Posted 2 years ago #

    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.

    Simon

  3. Christian K. Nordtomme
    Member
    Posted 2 years ago #

    Thanks for the quick reply, Simon.

    So … From "Security", I'll need:

    app_id: 'THIS APP ID',
    email: 'john.doe@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.

    Christian

  4. Simon Blackbourn
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. Simon Blackbourn
    Member
    Plugin Author

    Posted 2 years ago #

    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

  6. Christian K. Nordtomme
    Member
    Posted 2 years ago #

    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.

  7. Simon Blackbourn
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  8. Christian K. Nordtomme
    Member
    Posted 2 years ago #

    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. :-)

  9. Simon Blackbourn
    Member
    Plugin Author

    Posted 2 years ago #

    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 hide_from_intercom capability.)

  10. Christian K. Nordtomme
    Member
    Posted 2 years ago #

    Yep. I see where you're coming from. Nice. Thank you for the plugin tips, too. :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic